MoveBattleStylePreference

@Serializable
data class MoveBattleStylePreference(val lowHpPreference: Int, val highHpPreference: Int, val moveBattleStyle: Handle.Named<MoveBattleStyle>)(source)

Move battle style preferences for a given nature. See: https://pokeapi.co/docs/v2#movebattlestylepreference

Parameters

lowHpPreference

Chance of using the move style when HP is low.

highHpPreference

Chance of using the move style when HP is high.

moveBattleStyle

The move battle style.

Constructors

Link copied to clipboard
constructor(lowHpPreference: Int, highHpPreference: Int, moveBattleStyle: Handle.Named<MoveBattleStyle>)

Properties

Link copied to clipboard
Link copied to clipboard